package com.zs.games.service;

import cn.hutool.db.sql.Query;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zs.games.entity.GameInfo;
import com.zs.games.entity.UserFeedback;
import com.zs.games.entity.UserInfo;
import com.zs.games.param.PageQuery;
import com.zs.games.param.UpdatePasswordParam;
import com.zs.games.param.UserIdParam;
import com.zs.games.vo.GameInfoVo;
import com.zs.games.vo.GameNewVo;
import com.zs.games.vo.LoginUserVo;
import com.zs.games.vo.UserBlackVo;

import java.util.List;

/**
 * 
 * @date 2023年05月09日 17:17
 */
public interface UserInfoService extends IService<UserInfo> {

    LoginUserVo getLoginUserInfo(String userName, String password);
    Boolean logOut();

    Boolean updatePassword(UpdatePasswordParam param);

    List<GameNewVo> getCollectList();

    List<GameInfoVo> getMyLiveGame();

    Boolean accountClose();

    Boolean feedBack(UserFeedback feedback);

    Boolean addBlack(UserIdParam param);

    Boolean delBlack(UserIdParam param);

    IPage<UserBlackVo> getBlackList(PageQuery param);

}
